//
//  DWDTempViewController.swift
//  dwdWb
//
//  Created by Dengdwd on 15/10/9.
//  Copyright © 2015年 dwd. All rights reserved.
//

import UIKit

class DWDTempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        title = "当前是第\(navigationController?.childViewControllers.count)页"
        view.backgroundColor = UIColor.whiteColor()
        // Do any additional setup after loading the view.
    }

    override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
        let tc = DWDTempViewController()
        self.navigationController?.pushViewController(tc, animated: true)
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
